package com.woniuxy.base.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("base_category")
public class BaseCategory {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 类别
     */
    private String type;
    /**
     * 状态
     */
    private Integer state;
    /**
     * 添加时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date addTime;
    /**
     * 描述
     */
    private String description;
}